<%@page import="com.qc.entity.SystemEntity"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<%
	SystemEntity system = (SystemEntity)request.getSession().getAttribute("system"); 

	String path = request.getContextPath();
%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<header class="bg-white header header-md navbar navbar-fixed-top-xs box-shadow">
      <div class="navbar-header aside-md dk">
        <a href="javascript:void(0)" class="navbar-brand">
          <img src="<c:url value="/images/logo-01.png"/>" class="m-r-sm" alt="scale" style="margin-left: 20px;">
          
        </a>
        <a class="btn btn-link visible-xs" data-toggle="dropdown" data-target=".user">
          <i class="fa fa-cog"></i>
        </a>
      </div>
     
      <ul class="nav navbar-nav navbar-right m-n hidden-xs nav-user user">
        <%-- <li class="hidden-xs">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
            <i class="i i-chat3"></i>
            <span class="badge badge-sm up bg-danger count">2</span>
          </a>
          <section class="dropdown-menu aside-xl animated flipInY">
            <section class="panel bg-white">
              <div class="panel-heading b-light bg-light">
                <strong>你有 <span class="count">2</span> 信息</strong>
              </div>
              <div class="list-group list-group-alt">
                <a href="#" class="media list-group-item">
                  <span class="pull-left thumb-sm">
                    <img src="<c:url value="/images/a0.png"/>" alt="..." class="img-circle">
                  </span>
                  <span class="media-body block m-b-none">
                    秘书认证待处理<br>
                    <small class="text-muted">10分钟前</small>
                  </span>
                </a>
                <a href="#" class="media list-group-item">
                  <span class="pull-left thumb-sm">
                    <img src="<c:url value="/images/a0.png"/>" alt="..." class="img-circle">
                  </span>
                  <span class="media-body block m-b-none">
                    boss认证待处理<br>
                    <small class="text-muted">10分钟前</small>
                  </span>
                </a>
                <a href="#" class="media list-group-item">
                  <span class="media-body block m-b-none">
                    	系统更新消息<br>
                    <small class="text-muted">1小时前</small>
                  </span>
                </a>
              </div>
            </section>
          </section>
        </li> --%>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown">
            <span class="thumb-sm avatar pull-left">
              <img src="<c:url value="/images/a0.png"/>" alt="...">
            </span>
           	
           	${system.nickName } 
           	<b class="caret"></b>
          </a>
          <ul class="dropdown-menu animated fadeInRight">
            <li>
              <a href="<%=path %>/logout.do">退出</a>
            </li>
          </ul>
        </li>
      </ul>      
    </header>
</body>
</html>